<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>edit</title>
</head>
<body>
    编辑
    <form action="/doEdit" method="post">
        <input type="hidden" name="id" value="{{@list._id}}">
        姓名:<input type="text" name="username" value="{{list.username}}">
        年龄:<input type="text" name='age' value="{{list.age}}">
        <button type="submit">提交</button>
    </form>
</body>
</html>